Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

245
Visualizações
What is a "site" that is created when running the maven site command?

I am new to java and working in a project managed by maven. This is a basic question so I'm sorry, but I like to become familiar with all the terminology. When I google the question it is answered by stating that maven creates a site. What kind of site? What specifically is meant by that?

over 4 years ago · Santiago Trujillo
2 Respostas
Responde à pergunta

0

It simply means that Maven can generate a website for your project and release it to the public based on the pom.xml 's configuration. Internally, it uses Maven Site Plugin to do it.

A real life example is the JUnit4 web site. Given this pom.xml, it will then generate this web site.

over 4 years ago · Santiago Trujillo Relatório

0

Maven's site - is a command for generating documentation for your project. Later after the build is finished you could open it in the browser and navigate to different parts of it. All sources are generated into target folder.

For running this command you have to add the site plugin to your pom file first. Otherwise, the build failed.

The Maven site lifecycle has two phases bound to the goals of the site plugin by default: the site phase is bound to the site goal, and the site-deploy phase is bound to the deploy goal.

Here are the descriptions of those goals:

  • site – generate a site for a single project; the generated site only shows information about the artefacts specified in the POM

  • deploy – deploy the generated site to the URL specified in the distributionManagement element of the POM

In addition to the site and deploy, the site plugin has several other goals to customize the content of the generated files and to control the deployment process.

Useful links:

  • Apache Maven Site Plugin
  • Creating a site
over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda